package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 电池实时状态对象 battery_real_time_status
 * 
 * @author ruoyi
 * @date 2023-11-14
 */
public class BatteryRealTimeStatus extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Integer id;

    /** 采集站编码 */
    @Excel(name = "采集站编码")
    private String coding;

    /** 通道号 */
    @Excel(name = "通道号")
    private String channelNumber;

    /** 路径 */
    @Excel(name = "路径")
    private String path;

    /** 设备状态 */
    @Excel(name = "设备状态")
    private String equipmentStatus;

    /** 电池状态 */
    @Excel(name = "电池状态")
    private String batteryStatus;

    /** 序列号 */
    @Excel(name = "序列号")
    private String serialNumber;

    /** 电池最新更换时间 */
    @Excel(name = "电池最新更换时间")
    private String replacementTime;

    /** 电池电压(V) */
    @Excel(name = "电池电压(V)")
    private String voltage;

    /** 电池信息 */
    @Excel(name = "电池信息")
    private String batteryMsg;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setCoding(String coding) 
    {
        this.coding = coding;
    }

    public String getCoding() 
    {
        return coding;
    }
    public void setChannelNumber(String channelNumber) 
    {
        this.channelNumber = channelNumber;
    }

    public String getChannelNumber() 
    {
        return channelNumber;
    }
    public void setPath(String path) 
    {
        this.path = path;
    }

    public String getPath() 
    {
        return path;
    }
    public void setEquipmentStatus(String equipmentStatus) 
    {
        this.equipmentStatus = equipmentStatus;
    }

    public String getEquipmentStatus() 
    {
        return equipmentStatus;
    }
    public void setBatteryStatus(String batteryStatus) 
    {
        this.batteryStatus = batteryStatus;
    }

    public String getBatteryStatus() 
    {
        return batteryStatus;
    }
    public void setSerialNumber(String serialNumber) 
    {
        this.serialNumber = serialNumber;
    }

    public String getSerialNumber() 
    {
        return serialNumber;
    }
    public void setReplacementTime(String replacementTime) 
    {
        this.replacementTime = replacementTime;
    }

    public String getReplacementTime() 
    {
        return replacementTime;
    }
    public void setVoltage(String voltage) 
    {
        this.voltage = voltage;
    }

    public String getVoltage() 
    {
        return voltage;
    }
    public void setBatteryMsg(String batteryMsg) 
    {
        this.batteryMsg = batteryMsg;
    }

    public String getBatteryMsg() 
    {
        return batteryMsg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("coding", getCoding())
            .append("channelNumber", getChannelNumber())
            .append("path", getPath())
            .append("equipmentStatus", getEquipmentStatus())
            .append("batteryStatus", getBatteryStatus())
            .append("serialNumber", getSerialNumber())
            .append("replacementTime", getReplacementTime())
            .append("voltage", getVoltage())
            .append("batteryMsg", getBatteryMsg())
            .toString();
    }
}
